<#if type == "avg">
	<button onclick="toPSTablePattern(${playerId?c}, 'avg')" style="margin-left: 78%;margin-bottom: 5px;" class="btn btn-success">切换为数据模式</button>
	<div class="btn-group">	
	    <button type="button" id="avgFirstButton" class="btn btn-default" onclick="loadChart('score', ${playerId?c}, 'Avg', 'post')">得分</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('playingTime', ${playerId?c}, 'Avg', 'post')">出场时间</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('percentage', ${playerId?c}, 'Avg', 'post')">命中率</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('amount', ${playerId?c}, 'Avg', 'post')">命中数</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('attempts', ${playerId?c}, 'Avg', 'post')">出手数</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('rebound', ${playerId?c}, 'Avg', 'post')">篮板球</button>
		<button type="button" class="btn btn-default" onclick="loadChart('assists', ${playerId?c}, 'Avg', 'post')">助攻</button>
		<button type="button" class="btn btn-default" onclick="loadChart('steal', ${playerId?c}, 'Avg', 'post')">抢断</button>
		<button type="button" class="btn btn-default" onclick="loadChart('blockShot', ${playerId?c}, 'Avg', 'post')">盖帽</button>
		<button type="button" class="btn btn-default" onclick="loadChart('fault', ${playerId?c}, 'Avg', 'post')">失误</button>
		<button type="button" class="btn btn-default" onclick="loadChart('foul', ${playerId?c}, 'Avg', 'post')">犯规</button>    
	</div>
	<div id="avgChartContent" class="chartContent">
		
	</div>
<#elseif type == "sum">
	<button onclick="toPSTablePattern(${playerId?c}, 'sum')" style="margin-left: 78%;margin-bottom: 5px;" class="btn btn-success">切换为数据模式</button>
	<div class="btn-group">
	    <button type="button" id="sumFirstButton" class="btn btn-default" onclick="loadChart('score', ${playerId?c}, 'Sum', 'post')" >得分</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('playingTime', ${playerId?c}, 'Sum', 'post')" >出场时间</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('percentage', ${playerId?c}, 'Sum', 'post')" >命中率</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('amount', ${playerId?c}, 'Sum', 'post')" >命中数</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('attempts', ${playerId?c}, 'Sum', 'post')" >出手数</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('rebound', ${playerId?c}, 'Sum', 'post')" >篮板球</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('assists', ${playerId?c}, 'Sum', 'post')">助攻</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('steal', ${playerId?c}, 'Sum', 'post')">抢断</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('blockShot', ${playerId?c}, 'Sum', 'post')">盖帽</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('fault', ${playerId?c}, 'Sum', 'post')">失误</button>
	    <button type="button" class="btn btn-default" onclick="loadChart('foul', ${playerId?c}, 'Sum', 'post')">犯规</button>		
	</div>
	<div id="sumChartContent" class="chartContent">
		
	</div>
<#elseif type == "basicAdv">
	<button onclick="toPSTablePattern(${playerId?c}, 'basicAdv', 'post')" style="margin-left: 78%;margin-bottom: 5px;" class="btn btn-success">切换为数据模式</button>
	<div class="btn-group">
	    <button type="button" id="basicAdvFirstButton" class="btn btn-default" onclick="loadBasicAdvChart('reboundRate', ${playerId?c}, 'BasicAdv', 'post')" >篮板率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('winShare', ${playerId?c}, 'BasicAdv', 'post')">贡献率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('efficiency', ${playerId?c}, 'BasicAdv', 'post')">效率</button>	
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('assistsRate', ${playerId?c}, 'BasicAdv', 'post')" >助攻率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('stealRate', ${playerId?c}, 'BasicAdv', 'post')" >抢断率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('blockShotRate', ${playerId?c}, 'BasicAdv', 'post')" >盖帽率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('faultRate', ${playerId?c}, 'BasicAdv', 'post')" >失误率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('usageRate', ${playerId?c}, 'BasicAdv', 'post')" >使用率</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('playerEfficiencyRating', ${playerId?c}, 'BasicAdv', 'post')">效率值</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('dunk', ${playerId?c}, 'BasicAdv', 'post')">扣篮</button>
	    <button type="button" class="btn btn-default" onclick="loadBasicAdvChart('andOne', ${playerId?c}, 'BasicAdv', 'post')">2/3+1</button>	
	</div>
	<div id="basicAdvChartContent" class="chartContent">
		
	</div>
<#elseif type == "shootingAdv">
	<button onclick="toPSTablePattern(${playerId?c}, 'shootingAdv')" style="margin-left: 75%;margin-bottom: 5px;" class="btn btn-success">切换为数据模式</button>
	<div class="btn-group">
	    <button type="button" id="shootingAdvFirstButton" class="btn btn-default" onclick="loadShootingAdvChart('percentage', ${playerId?c}, 'ShootingAdv', 'post')" >命中率</button>
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('amount', ${playerId?c}, 'ShootingAdv', 'post')">命中数</button>
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('attempts', ${playerId?c}, 'ShootingAdv', 'post')">出手数</button>	
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('proportion', ${playerId?c}, 'ShootingAdv', 'post')" >出手占比</button>
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('trueShootingPercentage', ${playerId?c}, 'ShootingAdv', 'post')" >真实命中率</button>
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('shootingEfficiency', ${playerId?c}, 'ShootingAdv', 'post')" >投篮效率</button>
	    <button type="button" class="btn btn-default" onclick="loadShootingAdvChart('distance', ${playerId?c}, 'ShootingAdv', 'post')" >出手距离</button>
	</div>
	<div id="shootingAdvChartContent" class="chartContent">
		
	</div>
</#if>